package com.enjoyor.soa.traffic.core.tsms.domain;

import java.util.List;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import io.swagger.annotations.ApiModel;
import oracle.spatial.geometry.JGeometry;

/**
 * 常备线路表
 * @author fzj
 * @date 2018-08-23
 */
@ApiModel(value = "CommonRoute", description = "常备线路")
public class CommonRoute extends ABean {
    /**
	 * 
	 */
	private static final long serialVersionUID = 3581045145124901101L;

	/**
     * 常备线路编号:CR+秒级时间戳
     */
    private String commonRouteId;

    /**
     * 常备线路名称
     */
    private String commonRouteName;

    /**
     * 起点名称
     */
    private String routeStartPlace;

    /**
     * 终点名称
     */
    private String routeTargetPlace;

    /**
     * 路线长度(单位为米)
     */
    private Integer routeLength;

    /**
     * 计划用时(单位为分)
     */
    private Double routePlanTime;

    /**
     * 是否删除:数字字典
     */
    private Boolean isDelete;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 存储地图线路
     */
    private JGeometry routeGeo;

    /**
     * 线路备注
     */
    private String routeMemo;

    /**
     * 联系人
     */
    private String placePerson;

    /**
     * 联系电话
     */
    private String placePhone;
    
    /**
     * 地理信息字符串；
     */
    private String strArea;
    
    /**
     * 关联途径点集合；
     */
    private List<RoutePoint> routePointList;
    
    public String getStrArea() {
		return strArea;
	}

	public void setStrArea(String strArea) {
		this.strArea = strArea;
	}

	public String getCommonRouteId() {
        return commonRouteId;
    }

    public void setCommonRouteId(String commonRouteId) {
        this.commonRouteId = commonRouteId == null ? null : commonRouteId.trim();
    }

    public String getCommonRouteName() {
        return commonRouteName;
    }

    public void setCommonRouteName(String commonRouteName) {
        this.commonRouteName = commonRouteName == null ? null : commonRouteName.trim();
    }

    public String getRouteStartPlace() {
        return routeStartPlace;
    }

    public void setRouteStartPlace(String routeStartPlace) {
        this.routeStartPlace = routeStartPlace == null ? null : routeStartPlace.trim();
    }

    public String getRouteTargetPlace() {
        return routeTargetPlace;
    }

    public void setRouteTargetPlace(String routeTargetPlace) {
        this.routeTargetPlace = routeTargetPlace == null ? null : routeTargetPlace.trim();
    }

    public Integer getRouteLength() {
        return routeLength;
    }

    public void setRouteLength(Integer routeLength) {
        this.routeLength = routeLength;
    }

    public Double getRoutePlanTime() {
        return routePlanTime;
    }

    public void setRoutePlanTime(Double routePlanTime) {
        this.routePlanTime = routePlanTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson == null ? null : createPerson.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public JGeometry getRouteGeo() {
        return routeGeo;
    }

    public void setRouteGeo(JGeometry routeGeo) {
        this.routeGeo = routeGeo;
    }

    public String getRouteMemo() {
        return routeMemo;
    }

    public void setRouteMemo(String routeMemo) {
        this.routeMemo = routeMemo == null ? null : routeMemo.trim();
    }

    public String getPlacePerson() {
        return placePerson;
    }

    public void setPlacePerson(String placePerson) {
        this.placePerson = placePerson == null ? null : placePerson.trim();
    }

    public String getPlacePhone() {
        return placePhone;
    }

    public void setPlacePhone(String placePhone) {
        this.placePhone = placePhone == null ? null : placePhone.trim();
    }

	public List<RoutePoint> getRoutePointList() {
		return routePointList;
	}

	public void setRoutePointList(List<RoutePoint> routePointList) {
		this.routePointList = routePointList;
	}
}